package cn.auction.entity;

import java.io.Serializable;
import java.util.Date;

public class AuctionEnd implements Serializable {
    private static final long serialVersionUID = 1926939596890468349L;
    //拍卖品编号
    private Long auctionId;
    //拍卖品名称
    private String auctionName;
    //拍卖品起拍价
    private Double auctionStartPrice;
    //拍卖品底价
    private Double auctionUpset;
    //拍卖品拍卖开始时间
    private Date auctionStartTime;
    //拍卖品拍卖结束时间
    private Date auctionEndTime;
    //拍卖品图片路径
    private String auctionPic;
    //拍卖品图片扩展名
    private String auctionPicType;
    //拍卖品描述
    private String auctionDesc;
    /**
     * 添加了俩个字段
     */
    //存储用户表对象
    private AuctionUser user;
    //竞拍价格
    private Double auctionPrice;

    public AuctionUser getUser() {
        return this.user;
    }

    public void setUser(AuctionUser user) {
        this.user = user;
    }

    public Double getAuctionPrice() {
        return this.auctionPrice;
    }

    public void setAuctionPrice(Double auctionPrice) {
        this.auctionPrice = auctionPrice;
    }

    public AuctionEnd() {
    }

    public AuctionEnd(String auctionName, Double auctionStartPrice, Double auctionUpset, Date auctionStartTime, Date auctionEndTime, String auctionPic, String auctionPicType) {
        this.auctionName = auctionName;
        this.auctionStartPrice = auctionStartPrice;
        this.auctionUpset = auctionUpset;
        this.auctionStartTime = auctionStartTime;
        this.auctionEndTime = auctionEndTime;
        this.auctionPic = auctionPic;
        this.auctionPicType = auctionPicType;
    }

    public AuctionEnd(String auctionName, Double auctionStartPrice, Double auctionUpset, Date auctionStartTime, Date auctionEndTime, String auctionPic, String auctionPicType, String auctionDesc) {
        this.auctionName = auctionName;
        this.auctionStartPrice = auctionStartPrice;
        this.auctionUpset = auctionUpset;
        this.auctionStartTime = auctionStartTime;
        this.auctionEndTime = auctionEndTime;
        this.auctionPic = auctionPic;
        this.auctionPicType = auctionPicType;
        this.auctionDesc = auctionDesc;
    }

    public Long getAuctionId() {
        return this.auctionId;
    }

    public void setAuctionId(Long auctionId) {
        this.auctionId = auctionId;
    }

    public String getAuctionName() {
        return this.auctionName;
    }

    public void setAuctionName(String auctionName) {
        this.auctionName = auctionName;
    }

    public Double getAuctionStartPrice() {
        return this.auctionStartPrice;
    }

    public void setAuctionStartPrice(Double auctionStartPrice) {
        this.auctionStartPrice = auctionStartPrice;
    }

    public Double getAuctionUpset() {
        return this.auctionUpset;
    }

    public void setAuctionUpset(Double auctionUpset) {
        this.auctionUpset = auctionUpset;
    }

    public Date getAuctionStartTime() {
        return this.auctionStartTime;
    }

    public void setAuctionStartTime(Date auctionStartTime) {
        this.auctionStartTime = auctionStartTime;
    }

    public Date getAuctionEndTime() {
        return this.auctionEndTime;
    }

    public void setAuctionEndTime(Date auctionEndTime) {
        this.auctionEndTime = auctionEndTime;
    }

    public String getAuctionPic() {
        return this.auctionPic;
    }

    public void setAuctionPic(String auctionPic) {
        this.auctionPic = auctionPic;
    }

    public String getAuctionPicType() {
        return this.auctionPicType;
    }

    public void setAuctionPicType(String auctionPicType) {
        this.auctionPicType = auctionPicType;
    }

    public String getAuctionDesc() {
        return this.auctionDesc;
    }

    public void setAuctionDesc(String auctionDesc) {
        this.auctionDesc = auctionDesc;
    }
}
